package June02;

public class T02Teacher extends T02Employee{
    private String student;

    public T02Teacher() {
    }


    public T02Teacher(String name, Integer id, double salary, String work, double vacation, String student) {
        super(name, id, salary, work, vacation);
        this.student = student;
    }

    @Override
    public String toString() {
        return super.toString()+"\t学生:"+student;
    }
}
